package com.deyuanyun.pic.ae.service;

import com.deyuanyun.pic.ae.controller.dto.GeologicHazardQuery;
import com.deyuanyun.pic.ae.domain.GeologicHazard;
import com.deyuanyun.pic.ae.domain.Sewer;
import com.github.pagehelper.Page;

import java.util.List;

/**
 * “沿线地质灾害” 服务接口
 *
 * @author huanglw
 * @date  2016-11-9
 *
 * History: [修改人][时间][修改描述]
 */
public interface GeologicHazardService {

    /**
     * 条件查询
     *
     * @param geologicHazardQuery
     * @return
     */
    Page<GeologicHazard> query(GeologicHazardQuery geologicHazardQuery);

    /**
     * 根据id查询 管道沿线地下排水排污设施信息 详情
     *
     * @param id
     * @return
     */
    GeologicHazard find(String id);

    /**
     * 创建或者修改
     *
     * @param geologicHazard
     */
    int edit(GeologicHazard geologicHazard, List<String> imgs);

    /**
     * 审核
     *
     * @param geologicHazard
     * @return
     */
    int audit(GeologicHazard geologicHazard);

    /**
     * 根据id 删除
     *
     * @param id
     * @return
     */
    int delete(String id);

}
